<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

<head>
<!-- 这里引入导航信息header.tpl -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>修改公共邮箱</title>
<script type="text/javascript">
var pagePath = '<%=context%>';
	//默认加载
	$(function() {
		//把访问路径传到js
		setPathPrefix(pagePath);
	});
</script>
<script type="text/javascript" src="<%=context%>resources/modules/system/sys/msg/publicEmail.create.js?20170727"></script>
</head>

<body class="sub-page">
	<title>修改公共邮箱</title>
	<form name="addForm" id="addForm" role="form" method="post" class="form-horizontal" action="<%=context%>msgpublicemail/update.do">
		<input type="hidden" name="id" id="id" value="${vo.id }">
		<fieldset>
			<div class="page-content">
				<div class="page-header">
					<h4 class="page-title">修改公共邮箱</h4>
				</div>
				<div class="page-body">
					<div class="form-group">
						<label class="col-sm-2 control-label">邮箱名称<span class="text-danger">*</span></label>
						<div class="col-sm-10">
							<input type="text" name="emailName" id="emailName" placeholder="邮箱名称" class="form-control" maxlength="50" value="${vo.emailName }">
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">邮箱地址<span class="text-danger">*</span></label>
						<div class="col-sm-10">
							<input class="form-control" type="text" name="email" id="email" placeholder="邮箱地址" maxlength="50" value="${vo.email }"/>
						</div>
					</div>
				</div>
				<div class="page-footer">
					<button type="button" name="commitBtn" id="commitBtn" class="btn btn-primary" onClick="submitForm();">提交</button>
					<button type="button" name="cancelBtn" id="cancelBtn" class="btn btn-link" data-dismiss="modal" onclick="window.close();">取消</button>
				</div>
			</div>
		</fieldset>
	</form>
</body>
</html>
